
 
 F u n c t i o n :   s h o w ( d o m E l e m e n t O r C S S S e l e c t o r ,   s t r i n g E f f e c t N a m e ,   o b j e c t C o n f i g ,   f u n c t i o n C o m p l e t e C a l l b a c k ) 
 
 
 
 D e s c r i p t i o n :   D y n a m i c a l l y   r e n d e r s   t h e   s p e c i f i e d   e l e m e n t   u s i n g   a   c u s t o m i z a b l e   a n i m a t i o n   e f f e c t . 
 
 
 
 R e t u r n s :   d o m E l e m e n t ,   o r   $ A   o b j e c t   i f   c h a i n e d . 
 
 
 
 R e q u i r e s   m o d u l e :   " A n i m a t e " 
 
 
 
 N o t e :   T h e   s h o w ( )   f u n c t i o n   u t i l i z e s   V e l o c i t y   t o   r e n d e r   a n i m a t i o n   e f f e c t s .   T o   v i e w   a v a i l a b l e   t r a n s i t i o n   e f f e c t s ,   v i e w   t h e   h e l p   d o c   a t : 
 
 H e l p / V e l o c i t y U I - E f f e c t s - I n d e x . t x t . 
 
 
 
 E x a m p l e : 
 
 
 
 $ A . i m p o r t ( " A n i m a t e " ,   {   d e f e r :   t r u e   } ,   f u n c t i o n ( )   { 
 
 
 
     $ A . s h o w ( d o m E l e m e n t ) ; 
 
 
 
     $ A . s h o w ( d o m E l e m e n t ,   " t r a n s i t i o n . f a d e I n " ) ; 
 
 
 
     $ A . s h o w ( " . c o n t e n t - p a n e l " ,   " t r a n s i t i o n . s w o o p I n " ,   f u n c t i o n ( )   { 
 
         / /   D o   s o m e t h i n g   a f t e r   r e n d e r i n g   c o m p l e t e s . 
 
     } ) ; 
 
 
 
     $ A . s h o w ( [ d o m E l e m e n t 1 ,   d o m E l e m e n t 2 ] ,   " t r a n s i t i o n . s l i d e U p I n " ,   { 
 
         d u r a t i o n :   7 5 0 , 
 
         e a s i n g :   " e a s e - i n " 
 
     } ) ; 
 
 
 
 } ) ; 
 
 